<template>
  <h2>{{categories}}</h2>
</template>

<script>
import axios from 'axios'
export default {
    name:'HelloWorld',
    data() {
        return {
            categories:''
        }
    },
    created() {
        axios({
            url:'http://152.136.185.210:7878/api/hy66/category'
        }).then(res =>{
            this.categories = res;
        })
    }
}
</script>

<style>

</style>